package com.dx.service.user.impl;

import com.dx.entity.user.Menu;
import com.dx.mapper.user.MenuMapper;
import com.dx.security.dto.MenuDTO;
import com.dx.service.user.MenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author YU.TAN
 * @since 2023-07-22
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {

    @Override
    public List<MenuDTO> listMenu() {
        return this.getBaseMapper().listMenu();
    }
}
